import instance from "@/utils/request";
import type { Isearchparams } from '@/types/searchpopup'
// 定义搜索商品接口
export function getsearchdata(data: Isearchparams) {
    return instance({
        url: '/goods/list',
        method: 'get',
        params: data
    })
}